package com.nxu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
public class Identity {     // 用户身份
    private int id;         // 身份编号
    private String name;    // 身份名称

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Identity(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public Identity() {
    }
}